/*
 * XML Type:  XPara
 * Namespace: http://www.seedwill.com/xul/core
 * Java type: com.seedwill.xul.core.XPara
 *
 * Automatically generated - do not modify.
 */
package com.seedwill.xul.core;


/**
 * An XML XPara(@http://www.seedwill.com/xul/core).
 *
 * This is a complex type.
 */
public interface XPara extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XPara.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s790E6810E76A77BB212DD6D4DA094898").resolveHandle("xparadf60type");
    
    /**
     * Gets the "name" element
     */
    java.lang.String getName();
    
    /**
     * Gets (as xml) the "name" element
     */
    org.apache.xmlbeans.XmlString xgetName();
    
    /**
     * Sets the "name" element
     */
    void setName(java.lang.String name);
    
    /**
     * Sets (as xml) the "name" element
     */
    void xsetName(org.apache.xmlbeans.XmlString name);
    
    /**
     * Gets the "type" element
     */
    java.lang.String getType();
    
    /**
     * Gets (as xml) the "type" element
     */
    org.apache.xmlbeans.XmlString xgetType();
    
    /**
     * Sets the "type" element
     */
    void setType(java.lang.String type);
    
    /**
     * Sets (as xml) the "type" element
     */
    void xsetType(org.apache.xmlbeans.XmlString type);
    
    /**
     * Gets the "inout" element
     */
    com.seedwill.xul.core.XParaInOut.Enum getInout();
    
    /**
     * Gets (as xml) the "inout" element
     */
    com.seedwill.xul.core.XParaInOut xgetInout();
    
    /**
     * Sets the "inout" element
     */
    void setInout(com.seedwill.xul.core.XParaInOut.Enum inout);
    
    /**
     * Sets (as xml) the "inout" element
     */
    void xsetInout(com.seedwill.xul.core.XParaInOut inout);
    
    /**
     * Gets the "mand" element
     */
    boolean getMand();
    
    /**
     * Gets (as xml) the "mand" element
     */
    org.apache.xmlbeans.XmlBoolean xgetMand();
    
    /**
     * Sets the "mand" element
     */
    void setMand(boolean mand);
    
    /**
     * Sets (as xml) the "mand" element
     */
    void xsetMand(org.apache.xmlbeans.XmlBoolean mand);
    
    /**
     * Gets the "readonly" element
     */
    boolean getReadonly();
    
    /**
     * Gets (as xml) the "readonly" element
     */
    org.apache.xmlbeans.XmlBoolean xgetReadonly();
    
    /**
     * Sets the "readonly" element
     */
    void setReadonly(boolean readonly);
    
    /**
     * Sets (as xml) the "readonly" element
     */
    void xsetReadonly(org.apache.xmlbeans.XmlBoolean readonly);
    
    /**
     * Gets the "default" element
     */
    org.apache.xmlbeans.XmlAnySimpleType getDefault();
    
    /**
     * Sets the "default" element
     */
    void setDefault(org.apache.xmlbeans.XmlAnySimpleType xdefault);
    
    /**
     * Appends and returns a new empty "default" element
     */
    org.apache.xmlbeans.XmlAnySimpleType addNewDefault();
    
    /**
     * Gets the "format" element
     */
    java.lang.String getFormat();
    
    /**
     * Gets (as xml) the "format" element
     */
    org.apache.xmlbeans.XmlString xgetFormat();
    
    /**
     * Sets the "format" element
     */
    void setFormat(java.lang.String format);
    
    /**
     * Sets (as xml) the "format" element
     */
    void xsetFormat(org.apache.xmlbeans.XmlString format);
    
    /**
     * Gets array of all "validators" elements
     */
    com.seedwill.xul.core.XParaValidator[] getValidatorsArray();
    
    /**
     * Gets ith "validators" element
     */
    com.seedwill.xul.core.XParaValidator getValidatorsArray(int i);
    
    /**
     * Returns number of "validators" element
     */
    int sizeOfValidatorsArray();
    
    /**
     * Sets array of all "validators" element
     */
    void setValidatorsArray(com.seedwill.xul.core.XParaValidator[] validatorsArray);
    
    /**
     * Sets ith "validators" element
     */
    void setValidatorsArray(int i, com.seedwill.xul.core.XParaValidator validators);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "validators" element
     */
    com.seedwill.xul.core.XParaValidator insertNewValidators(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "validators" element
     */
    com.seedwill.xul.core.XParaValidator addNewValidators();
    
    /**
     * Removes the ith "validators" element
     */
    void removeValidators(int i);
    
    /**
     * Gets the "fields" element
     */
    com.seedwill.xul.core.XPara getFields();
    
    /**
     * Sets the "fields" element
     */
    void setFields(com.seedwill.xul.core.XPara fields);
    
    /**
     * Appends and returns a new empty "fields" element
     */
    com.seedwill.xul.core.XPara addNewFields();
    
    /**
     * Gets the "attributes" element
     */
    com.seedwill.xul.core.XPara getAttributes();
    
    /**
     * Sets the "attributes" element
     */
    void setAttributes(com.seedwill.xul.core.XPara attributes);
    
    /**
     * Appends and returns a new empty "attributes" element
     */
    com.seedwill.xul.core.XPara addNewAttributes();
    
    /**
     * Gets the "preferRoot" element
     */
    java.lang.String getPreferRoot();
    
    /**
     * Gets (as xml) the "preferRoot" element
     */
    org.apache.xmlbeans.XmlString xgetPreferRoot();
    
    /**
     * Sets the "preferRoot" element
     */
    void setPreferRoot(java.lang.String preferRoot);
    
    /**
     * Sets (as xml) the "preferRoot" element
     */
    void xsetPreferRoot(org.apache.xmlbeans.XmlString preferRoot);
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.seedwill.xul.core.XPara newInstance() {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.seedwill.xul.core.XPara newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.seedwill.xul.core.XPara parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.seedwill.xul.core.XPara parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.seedwill.xul.core.XPara parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.seedwill.xul.core.XPara parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.seedwill.xul.core.XPara parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.seedwill.xul.core.XPara parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.seedwill.xul.core.XPara parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.seedwill.xul.core.XPara parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.seedwill.xul.core.XPara parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.seedwill.xul.core.XPara parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.seedwill.xul.core.XPara parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.seedwill.xul.core.XPara parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.seedwill.xul.core.XPara parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.seedwill.xul.core.XPara parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.core.XPara parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.core.XPara parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.core.XPara) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
